﻿/// <reference path="../../yui-3.14-min.js" />
YUI().use('cacheExcellent', function (Y) {
    var myCache = new Y.Cache({ max: 5 });
    myCache.set("max", 10);
    myCache.add("key1", "value1");
    var cachedEntry = cache.retrieve("key1");
    var myCache = new Y.Cache({ max: 5, uniqueKeys: true });

    // Enforce unique keys at runtime
    myCache.set("uniqueKeys", true);

    myCache.flush();

    var myCache = new Y.CacheOffline();
});
